package com.xialinrui.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xialinrui.entity.IncomeCategory;
import com.xialinrui.mapper.IncomeCategoryMapper;
import com.xialinrui.service.IncomeCategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author xialinrui
 */
@Service
public class IncomeCategoryServiceImpl extends ServiceImpl<IncomeCategoryMapper, IncomeCategory> implements IncomeCategoryService {
    @Resource
    private IncomeCategoryMapper incomeCategoryMapper;

    @Override
    public void deleteByIds(List<Long> ids) {
        incomeCategoryMapper.deleteBatchIds(ids);
    }
}
